<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta name="layout" content="mobile">
    <title>Search For Facility</title>
  </head>
  <body>
    <h2>Search For A Facility</h2>
    <g:form action="searchResults">
      <g:hiddenField name="latitude" value="" />
      <g:hiddenField name="longitude" value="" />
      <table>
        <tr>
          <td><label for="facilitySearch">Facility</label></td>
          <td><g:textField name="facilitySearch"/></br></td>
        </tr>
        <tr>
          <td>Distance: </td>
          <td><g:select name="distance" from="${['', '25', '50', '75', '100']}"/> Kilometers</td>
        </tr>
        <tr>
          <td>Type: </td>
          <td><g:select name="type" from="${['', 'Hospital', 'Emergency', 'Clinic', 'Family' ]}" /></td>
        </tr>
      </table>
      <g:submitButton name="search" value="Search"/>
    </g:form>
    
  </body>
</html>
